]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ci: Use correct variable name
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 11 Dec 2020 14:59:11 +0000 (15:59 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 11 Dec 2020 14:59:11 +0000 (15:59 +0100)
Whoops, the last changes accidentally changed the CI_COMMIT_REF_NAME
variable to something that's not actually defined.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1531>

.gitlab-ci/checkout-mutter.sh

index 999f090616ecb906a9d006c5556e8224b659ca7b..82096af381a566ab79464862ee3f025dbf83c949 100755 (executable)
@@ -41,8 +41,8 @@ if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" ]; then
 fi
 
 if [ -z "$mutter_target" ]; then
-  echo -n Looking for $CI_COMMIT_REF on remote ...
-  if fetch origin $CI_COMMIT_REF; then
+  echo -n Looking for $CI_COMMIT_REF_NAME on remote ...
+  if fetch origin $CI_COMMIT_REF_NAME; then
     echo \ found
     mutter_target=FETCH_HEAD
   else